package com.bootdo.project.service.impl;

import com.bootdo.project.domain.TBusinessLevel;
import com.bootdo.project.dao.TBusinessLevelMapper;
import com.codegen.vo.Page;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import org.apache.ibatis.annotations.Param;

/**
 *
 * Created by xxxx on 2019/03/19.
 */
@Service
public class TBusinessLevelService {

	@Autowired
    private TBusinessLevelMapper tBusinessLevelMapper;
    
    public int deleteByPrimaryKey(Integer id){
        return tBusinessLevelMapper.deleteByPrimaryKey(id);
    }

    public int insert(TBusinessLevel record){
        return tBusinessLevelMapper.insert(record);
    }

    public int insertSelective(TBusinessLevel record){
        return tBusinessLevelMapper.insertSelective(record);
    }

    public TBusinessLevel selectByPrimaryKey(Integer id){
        return tBusinessLevelMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TBusinessLevel record){
        return tBusinessLevelMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TBusinessLevel record){
        return tBusinessLevelMapper.updateByPrimaryKey(record);
    }

    public List<TBusinessLevel> selectByCondition(TBusinessLevel record){
        return tBusinessLevelMapper.selectByCondition(record);
    }

    public List<TBusinessLevel> selectAll(){
        return tBusinessLevelMapper.selectAll();
    }

    public List<TBusinessLevel> selectByPage(Page<TBusinessLevel> page){
        return tBusinessLevelMapper.selectByPage(page);
    }

    public Integer count(TBusinessLevel record){
        return tBusinessLevelMapper.count(record);
    }

    public int deleteByCondition(TBusinessLevel record){
        return tBusinessLevelMapper.deleteByCondition(record);
    }

}
